namespace EyeOpen.DddOrm.Domain.Transactional
{
	using EyeOpen.DddOrm.Domain.Repositories;

	using EyeOpen.DddOrm.Domain.Repositories.Implementations;
	using EyeOpen.Domain.Transactional;

	internal class MediaUnitOfWork
		: UnitOfWork, IMediaUnitOfWork
	{
		public MediaUnitOfWork(ITransactionalCollection session)
			: base(session)
		{
		}

		public IPortalRepository PortalRepository
		{
			get
			{
				return new PortalRepository(TransactionalCollection);
			}
		}

		public ICategoryRepository CategoryRepository
		{
			get
			{
				return new CategoryRepository(TransactionalCollection);
			}
		}
	}
}